package com.cloudm.technician.ui.modules.common.splash

import com.cloudm.technician.ui.base.BasePresenter
import com.cloudm.technician.ui.base.BaseView

/**
 * 作者: wesley
 * 时间: 2017/12/13
 * 描述: 闪屏页的协议接口
 */
interface SplashContract {

    interface View : BaseView {

        fun openLoginActivity()

        fun openGuideActivity()

        fun openHomeActivity()

        fun destroySelf()
    }


    interface Presenter : BasePresenter {

        fun openActivity(delay: Long = 500)

        fun checkIsFirstTimeIn(): Boolean

        fun checkIsLogin(): Boolean

        fun openActivityDelay(flag: Int, delay: Long = 500)
    }

}